
import 'dart:convert';

UsernameList usernameListFromJson(String str) => UsernameList.fromJson(json.decode(str));

String usernameListToJson(UsernameList data) => json.encode(data.toJson());

class UsernameList {
    UsernameList({
        this.userNames,
    });

    List<String>? userNames;

    factory UsernameList.fromJson(Map<String, dynamic> json) => UsernameList(
        userNames:json["userNames"]!=null ? List<String>.from(json["userNames"].map((x) => x)): null,
    );

    Map<String, dynamic> toJson() => {
        "userNames": List<dynamic>.from(userNames!.map((x) => x)),
    };
}
